package com.craftsman.tomcat.tradition;

import com.craftsman.tomcat.nio.BXNIORequest;
import com.craftsman.tomcat.nio.BXNIOResponse;

public class SecondServlet extends BXServlet {


    public void doGet(BXRequest request, BXResponse response) throws Exception {
        doPost(request,response);
    }


    public void doPost(BXRequest request, BXResponse response) throws Exception {
        System.out.println("this is bx second first");
        response.write("{'hi':'world'}");
    }
}
